package io.zhiller.ollamaclient.ui.navigation


// function 单页面路由
sealed class SinglePageRoutes(val route: String) {
  data object Setting : SinglePageRoutes("setting")
}

//
//sealed class NavAnimatePageRoutes(val route: String) {
//  data object Scaled : NavAnimatePageRoutes("nav_page_scaled")
//  data object Faded : NavAnimatePageRoutes("nav_page_faded")
//}
//
//// 定义路由
//sealed class ParamPageRoutes(val route: String) {
//  data object Home : ParamPageRoutes("param_page_home")
//  data object Link : ParamPageRoutes("param_page_link/{str}") {
//    fun addParam(str: String) = "param_page_link/$str"
//  }
//}
//
//sealed class JsonParamPageRoutes(val route: String) {
//  @Serializable
//  data class User(
//    val id: Int, val name: String, val email: String
//  )
//
//  data object Home : JsonParamPageRoutes("json_param_page_home")
//  data object Detail : JsonParamPageRoutes("json_param_page_detail/{json}") {
//    fun addJson(user: User) = "json_param_page_detail/${Json.encodeToString(user)}"
//  }
//}
//
//sealed class DeepLinkPageRoutes(val route: String) {
//  data object Home : DeepLinkPageRoutes("deep_link_page_home")
//  data object Url : DeepLinkPageRoutes("deep_link_page_url/{str}")
//  data object Notification : DeepLinkPageRoutes("deep_link_page_notification/{str}")
//}